//-*-c++-*-

#ifndef TEST_H
#define TEST_H

#include <iostream>
#include <vector>
#include "PairingFunction.h"

/*
 * Test holds a set of 4 numbers, each number from a different factor
 */
class Test {
 public:
  std::vector<int> testArray; // the vector that contains the four numbers
  int size; // The size of testArray (the same as the number of factors)
  int newPairs; // The number of new pairs that this test generates
  Test (int numFactors); // Initializes the elements of the testArray to -1
  void print (); // Prints out the testArray
  int test_Factor_Value (int factor, int value, int *hashTable); // tests a value and sees how many new pairs it would generate and returns that number
  void set_Factor_Value (int factor, int value, int *hashTable); // stores a factor's value into the Test, the factor is the array index, and the value input is its value
  void clear ();
};

#endif
